.center {
    width: 300px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}